function buildInstall(components) {
  return function install(app) {
    components.forEach((comp) => {
      const c = comp;
      if (typeof c === "function" || typeof c.install === "function") {
        app.use(c);
      } else {
        app.component(c.name, c);
      }
    });
  };
}
export {
  buildInstall as default
};
//# sourceMappingURL=buildInstall.mjs.map
